
<?php
class index extends applicationController {
	
	public function __construct(){
		parent::__construct();
	}
	
	public function index() {
		$fc = FrontController::getInstance ();
		$params = $fc->getParams ();
		$this->smarty->assign('name',$params['name']);
		$result = $this->smarty->fetch('index.tpl');//$view->render ( 'index.tpl' );
		$fc->setBody ( $result );
	}
}